package cz.cuni.mff.ufal.volk.langr;

import java.io.Serializable;

/**
 * <p>A common cipher decoder. It provides only one method: {@link #decode(String)}.<p>
 * 
 * @author Bartłomiej Etenkowski
 * @see NgramDecoder
 */
public interface CipherDecoder extends Serializable {
  /**
   * Decodes the text given as parameter <tt>encoded</tt>.
   * 
   * @param encoded to be decoded
   * @return the decoded text
   */
  String decode(String encoded);
}
